Skip to content

Conversation

zaphim12
Copy link
Contributor

Issue being fixed

Original issue: #2884
Essentially, there are some cases where an NFC session becomes invalid, but the plugin doesn't properly close the session. This can occur if the user cancels the session before writing to a card, for example. In these cases, any subsequent writes fail immediately because a session is open, but it is invalid.

Changes made

In the case that a session is invalidated, instead of just logging the error and rejecting the invoke call, the session is also invalidated now.

Copy link
Contributor

github-actions bot commented Aug 1, 2025

Package Changes Through 5935caf

There are 2 changes which include nfc with patch, nfc-js with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.32 2.0.33
api-example-js 2.0.28 2.0.29
nfc 2.3.0 2.3.1
nfc-js 2.3.0 2.3.1

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Copy link
Member

@FabianLars FabianLars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks :)

@FabianLars FabianLars merged commit fe23a5e into tauri-apps:v2 Aug 1, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants